package com.nanjia.boot.brand.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * 品牌信息表单对象
 *
 * @author 周洋
 * @since 2025-07-04 15:18
 */
@Getter
@Setter
@Schema(description = "品牌信息表单对象")
public class BrandInfoForm implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "品牌ID")
    private Integer id;

    @Schema(description = "品牌名称")
    @NotBlank(message = "品牌名称不能为空")
    @Size(max=50, message="品牌名称长度不能超过50个字符")
    private String brandName;

    @Schema(description = "联系电话")
    @Size(max=50, message="联系电话长度不能超过50个字符")
    private String telephone;

    @Schema(description = "品牌网络")
    @Size(max=100, message="品牌网络长度不能超过100个字符")
    private String brandWeb;

    @Schema(description = "品牌logo URL")
    @Size(max=100, message="品牌logo URL长度不能超过100个字符")
    private String brandLogo;

    @Schema(description = "品牌描述")
    @Size(max=150, message="品牌描述长度不能超过150个字符")
    private String brandDesc;

    @Schema(description = "品牌状态,0禁用,1启用")
    @NotNull(message = "品牌状态,0禁用,1启用不能为空")
    private Integer brandStatus;


}
